package com.quanyan.stadium.utils.demo.SpringDemo.aware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Created by xiaoxiao on 17/1/18.
 */
public class DemoMain {
    public static void main(String[] args){
        AnnotationConfigApplicationContext app = new AnnotationConfigApplicationContext(AwareConfig.class);

        AwareService awareService = app.getBean(AwareService.class);
        awareService.output();
        app.close();
    }
}
